#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(){
    char resBuf[1024];
    memset(resBuf, 0, sizeof(resBuf));

    char *request_method = getenv("REQUEST_METHOD");
    char *query_string   = getenv("QUERY_STRING");
    char *content_lenght = getenv("CONTENT_LENGTH");

    printf("Content-Type: text/html\r\n");
    printf("\r\n");
    printf("url=main\r\n");

    printf("%s\r\n", query_string);
    return 0;
}
